package com.jacobson.huobi

object Constants {
    const val APP_ID_FOR_BUGLY: String = "ad806a3100"
    const val ERROR_RESP: Int = -1
    const val RESP_OK: Int = 0
    const val RESP_CREDENTIALS_EXPIRED: Int = -10306 //token已过期
    const val RESP_USER_OFFLINE: Int = -10303 //用户未登录
    var NEED_LOGIN = true;

    const val SYMBOL_VOLUME_UNIT = 1000000.0 //交易量   百万为单位
    //    生产
//    const val URL_WEBSOCKET = "ws://39.99.167.253:12390/ws"
//    const val URL_WEBSOCKET = "ws://192.168.123.38:12390/ws"
//    const val APP_URL = "http://192.168.123.38/app/"
//    const val URL_WEBSOCKET = "ws://192.168.50.29:12390/ws"
//    const val APP_URL = "http://192.168.50.29/app/"
//    const val APP_URL = "http://192.168.0.111/app/"
    const val URL_WEBSOCKET = "ws://122.51.39.21:12390/ws"
    const val APP_URL = "http://122.51.39.21/app/"
    const val APP_SHARE_URL = "http://122.51.39.21:8080/#/register"

    const val CHARGE_URL = "0x5Ff32e253Cb229D9b659872B6F08FE5BAac65597"
    const val KEY_SYMBOL_LIST = "_key_symbol_list_"
    const val KEY_SYSTEM_STATUS: String = "_key_system_status_"
    // MainActivity是否在前台
    const val KEY_IS_MAIN_FRONT: String = "_key_is_main_front_"
    //    const val KEY_BREATHING_LIGHT_ADAPTER: String = "_key_breathing_light_adapter_"
    // 保活通知服务
    const val ACTION_KEEP_ALIVE_SERVICE = "com.jacobson.huobi.KEEP_ALIVE_SERVICE"

    const val ACTION_FILE_PROVIDER = "com.jacobson.huobi.FILE_PROVIDER"

    const val KEY_LOGIN_INFO = "_key_login_info_"

    /** notification id */
    const val NOTIFICATION_ID_KEEP_ALIVE = 100001

    const val ACCESS_TOKEN = "access_token"
    const val REFRESH_TOKEN = "refresh_token"
}
